use af_auth::{get_offline_uuid_by_name, get_online_uuid_by_name};
#[test]
pub fn test_offline_uuid(){

    let name = "MinecraftWiki";
    let uuid = get_offline_uuid_by_name(name);
    assert_eq!(uuid, "ba6309b1-aa7e-301c-9010-23623f1e76a0");
}

#[tokio::test]
pub async fn test_online_uuid(){
    let name = "MinecraftWiki";
    let uuid = get_online_uuid_by_name(name).await.unwrap();
    assert_eq!(uuid,"3f18b6d4-6de9-4240-b423-743200faa492");
}